Skip to content

Conversation

@mendrix
Copy link

@mendrix mendrix commented Apr 3, 2020

I have changed the plugin to support SonarQube 7.9 LTS and 8.2. Version 7.9.3 and 8.2.0.32929 are tested.

These changes to plugin and the addition of code coverage support and DUnitX support, makes it now a complete package.

Laurensvanrun and others added 30 commits April 3, 2020 20:30
Cleanup unused imports
DUnitX support for unittests
-support "type Ansistring(1252)"
-support const and type in class helpers
-support array[0..6] (better real and integer seperation)
-support expression after string ("Hello world".ToUpper())
-support & for identifiers in struct
-support (1+2)*3 in const expressions
Delphi grammar: extended generics
-PMD parser does not always report the correct column (offset in line), make sure we can continue
-Dependencies fixed
-New readme
Added new grammar test
New Lexer and Parser for changed Delphi.g grammar
-support 'with' multiple arguments
-support [result: unsafe] attribute
-support [unsafe] and [weak] attributes
Support <namespace>.<value> for keywords
Plugin crashes if deadcode metrics cannot find a unit, now only give a warning
-Support control characters in a string (^M, #13 and combination)
-Support double pointer (^^) reference
==============
Addes support for syntax:
(generic1 as IList<TMetaData, TColumn>)[lIndex].Media[pMediaType].Visible;
----
Now grammar supports nil^ which is sometimes used to pass nil as var paramter value.
----
Support "helper" in unit names.
----
Interface redirection now also works with Generic interfaces.
----
Added support for inline variable declaration 
----
recordconstexpression allows ';'.
----
Fixed some furhter issues 
----
Allow sealed in class declaration.
----
* "In" is allowed as function name (used in operator definitions)
* Record helper allows const sections.
----
Fixed some char case-issues: 
operators are now accepted all up or all lowercase
"inherited" or "Inherited"
----
Extended grammar for class operator to support keywords like inline
(generic1 as IList<TMetaData, TColumn>)[lIndex].Media[pMediaType].Visible;
----
Now grammar supports nil^ which is sometimes used to pass nil as var paramter value.
----
Added test for  record hlper 
----
Added test for "helper" in unit names.
----
Added test for interface redirection without and with Generics.
----
Added samples for inline variable declaration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants